package com.woniu.adapter;

import com.woniu.config.FeignConfig;
import com.woniu.utils.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "erp-system-management", qualifier = "log", configuration = FeignConfig.class) // 标注该类是一个feign接口
public interface LoggingOpenFeign {
    @PostMapping("systemLog/add")
    public ResponseResult<String> addSystemLog(@RequestParam("systemClassificationName") String systemClassificationName);
}
